import request from './request'
export const banner = ()=>request.get('/index/banners/travel')
export const travels = (params)=>request.get('/travels/query',{params})
export const homelogin = (params)=>request.post('login',params)
//版本信息
export const usersversion = ()=>request.get('/users/version')
//全部订单
export const ordervlist = (params)=>request.get('/order/v1/list',{params})
//待发货单
export const ordervlista = (params)=>request.get('/order/v1/list/1',{params})
//带收货单
export const ordervlistb = (params)=>request.get('/order/v1/list/2',{params})
//带评价
export const ordervlistc = (params)=>request.get('/order/v1/list/3',{params})
//确认收货
export const qrshouhuo = (params)=>request.post('/order/v1/confirmReceipt/'+params)
//发货
export const fahuo = (params)=>request.post('/order/v1/send',params)
//订单详情
export const xiangq = (params)=>request.get('/order/v1/orderInfo/'+params)
//查看评价
export const evaluateInfo = (params)=>request.get('/order/v1/evaluateInfo/'+params)
//订单评价
export const evaluate = (params)=>request.post('/order/v1/evaluate',params)
//消息列表
export const message = (params)=>request.get('/api/message',{params})
//消息中心详情
export const messagexiangq = (params)=>request.get('/api/message/'+params)
//put 请求
export const updates = (params)=>request.put('/api/message/updates',params)
//个人中心用户信息详情
export const usersinfo = ()=>request.get('/users/info')
//物流单列表
export const apistar = (params)=>request.get('/api/star',{params})
//查看物流单评价
export const apistarpj = (params)=>request.get('/api/star/'+params)
//物流单评价
export const Apistar = (params)=>request.put('/api/star',params)
//客户信息列表
export const apicust = (params)=>request.get('/api/cust',{params})
//新增客户信息
export const Apicust = (params)=>request.post('/api/cust',params)
//客户视图
export const Aapicust = (params)=>request.post('/api/cust/'+params)